home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Science / Statistics Sample / stack_-1.xml < prev    next >
Encoding:
Extensible Markup Language  |  1994-06-24  |  2.0 KB  |  28 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
  3. <stack>
  4.     <name>in</name>
  5.     <id>-1</id>
  6.     <cardCount>7</cardCount>
  7.     <cardID>4294</cardID>
  8.     <listID>5381</listID>
  9.     <cantModify><false /></cantModify>
  10.     <cantDelete><false /></cantDelete>
  11.     <cantAbort><false /></cantAbort>
  12.     <cardSize>
  13.         <width>512</width>
  14.         <height>342</height>
  15.     </cardSize>
  16.     <script>on openStack
  17. global oldLevel
  18. put the userLevel into oldLevel
  19. set the userLevel to 2
  20. end openStack
  21.  
  22. on resumeStack
  23. global oldLevel
  24. put the userLevel into oldLevel
  25. set the userLevel to 2
  26. end resumeStack
  27.  
  28. on suspendStack
  29. global oldLevel
  30. set the userLevel to oldLevel
  31. if the freesize of this stack ‚â• 10000 then
  32. domenu "compact stack"
  33. end if
  34. end suspendStack
  35.  
  36. on closestack
  37. global oldLevel
  38. set the userLevel to oldLevel
  39. if the freesize of this stack ‚â• 10000 then
  40. domenu "compact stack"
  41. end if
  42. end closestack
  43.  
  44. function mixran x
  45. -- this function will take a series of symbols as input and
  46. -- randomly select one of the symbols and return it as the output.
  47. -- the symbols must be a list of items, i.e., each symbol must
  48. -- be separated by the next in the list by a comma.
  49. put the number of items of x into y
  50. put random(y) into z
  51. put item z of x into z
  52. return z
  53. end mixran</script>
  54.     <background id="2309" file="background_2309.xml" name="" />
  55.     <background id="2655" file="background_2655.xml" name="" />
  56.     <background id="4752" file="background_4752.xml" name="" />
  57.     <card id="4294" file="card_4294.xml" marked="false" name="Index" owner="2655" />
  58.     <card id="8767" file="card_8767.xml" marked="false" name="Moses" owner="4752" />
  59.     <card id="2208" file="card_2208.xml" marked="false" name="Mann-Whitney" owner="2309" />
  60.     <card id="5975" file="card_5975.xml" marked="false" name="Binomial" owner="4752" />
  61.     <card id="6157" file="card_6157.xml" marked="false" name="chi-square 1" owner="4752" />
  62.     <card id="5782" file="card_5782.xml" marked="false" name="Runs Test" owner="4752" />
  63.     <card id="3065" file="card_3065.xml" marked="false" name="ordering information" owner="4752" />
  64. </stack>
  65.